d67d7addd11df8cc7351273a3e60d098a20a1d55,server/sonar-server/src/main/java/org/sonar/server/computation/ws/SubmitWsAction.java,SubmitWsAction,define,#WebService.NewController#,46
Before Change
WebService.NewAction action = controller.createAction("submit")
.setDescription("Submit an analysis report to the queue of Compute Engine. Report is processed asynchronously.")
.setPost(true)
.setInternal(true)
.setHandler(this)
.setResponseExample(getClass().getResource("submit-example.json"));
action
After Change
.setDescription("Submits a scanner report to the queue. Report is processed asynchronously. Requires analysis permission. " +
"If the project does not exist, then the provisioning permission is also required.")
.setPost(true)
.setInternal(true)
.setSince("5.2")
.setHandler(this)
.setResponseExample(getClass().getResource("submit-example.json"));
action